package com.delicious.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.delicious.system.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {

    @Select("select id, username, password from user where username = #{username}")
    User loadUserByUsername(@Param("username") String username);

}
